/**
 */
package fUML.Semantics.Activities.CompleteStructuredActivities.impl;

import fUML.Semantics.Activities.CompleteStructuredActivities.ClauseActivation;
import fUML.Semantics.Activities.CompleteStructuredActivities.CompleteStructuredActivitiesFactory;
import fUML.Semantics.Activities.CompleteStructuredActivities.CompleteStructuredActivitiesPackage;
import fUML.Semantics.Activities.CompleteStructuredActivities.ConditionalNodeActivation;
import fUML.Semantics.Activities.CompleteStructuredActivities.LoopNodeActivation;
import fUML.Semantics.Activities.CompleteStructuredActivities.StructuredActivityNodeActivation;
import fUML.Semantics.Activities.CompleteStructuredActivities.Values;

import fUML.Semantics.Loci.LociL1.LociL1Package;

import fUML.Semantics.Loci.LociL1.impl.LociL1PackageImpl;

import fUML.Semantics.Loci.LociL2.LociL2Package;

import fUML.Semantics.Loci.LociL2.impl.LociL2PackageImpl;

import fUML.Semantics.Loci.LociL3.LociL3Package;

import fUML.Semantics.Loci.LociL3.impl.LociL3PackageImpl;

import fUML.Syntax.Actions.BasicActions.BasicActionsPackage;

import fUML.Syntax.Actions.BasicActions.impl.BasicActionsPackageImpl;

import fUML.Syntax.Actions.CompleteActions.CompleteActionsPackage;

import fUML.Syntax.Actions.CompleteActions.impl.CompleteActionsPackageImpl;

import fUML.Syntax.Actions.IntermediateActions.IntermediateActionsPackage;

import fUML.Syntax.Actions.IntermediateActions.impl.IntermediateActionsPackageImpl;

import fUML.Syntax.Activities.ExtraStructuredActivities.ExtraStructuredActivitiesPackage;

import fUML.Syntax.Activities.ExtraStructuredActivities.impl.ExtraStructuredActivitiesPackageImpl;

import fUML.Syntax.Activities.IntermediateActivities.IntermediateActivitiesPackage;

import fUML.Syntax.Activities.IntermediateActivities.impl.IntermediateActivitiesPackageImpl;

import fUML.Syntax.Classes.Kernel.KernelPackage;

import fUML.Syntax.Classes.Kernel.impl.KernelPackageImpl;

import fUML.Syntax.CommonBehaviors.BasicBehaviors.BasicBehaviorsPackage;

import fUML.Syntax.CommonBehaviors.BasicBehaviors.impl.BasicBehaviorsPackageImpl;

import fUML.Syntax.CommonBehaviors.Communications.CommunicationsPackage;

import fUML.Syntax.CommonBehaviors.Communications.impl.CommunicationsPackageImpl;

import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EOperation;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;

import org.eclipse.emf.ecore.impl.EPackageImpl;

/**
 * <!-- begin-user-doc -->
 * An implementation of the model <b>Package</b>.
 * <!-- end-user-doc -->
 * @generated
 */
public class CompleteStructuredActivitiesPackageImpl extends EPackageImpl implements CompleteStructuredActivitiesPackage {
	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass structuredActivityNodeActivationEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass loopNodeActivationEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass valuesEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass conditionalNodeActivationEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass clauseActivationEClass = null;

	/**
	 * Creates an instance of the model <b>Package</b>, registered with
	 * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
	 * package URI value.
	 * <p>Note: the correct way to create the package is via the static
	 * factory method {@link #init init()}, which also performs
	 * initialization of the package, or returns the registered package,
	 * if one already exists.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see org.eclipse.emf.ecore.EPackage.Registry
	 * @see fUML.Semantics.Activities.CompleteStructuredActivities.CompleteStructuredActivitiesPackage#eNS_URI
	 * @see #init()
	 * @generated
	 */
	private CompleteStructuredActivitiesPackageImpl() {
		super(eNS_URI, CompleteStructuredActivitiesFactory.eINSTANCE);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private static boolean isInited = false;

	/**
	 * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
	 * 
	 * <p>This method is used to initialize {@link CompleteStructuredActivitiesPackage#eINSTANCE} when that field is accessed.
	 * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #eNS_URI
	 * @see #createPackageContents()
	 * @see #initializePackageContents()
	 * @generated
	 */
	public static CompleteStructuredActivitiesPackage init() {
		if (isInited) return (CompleteStructuredActivitiesPackage)EPackage.Registry.INSTANCE.getEPackage(CompleteStructuredActivitiesPackage.eNS_URI);

		// Obtain or create and register package
		CompleteStructuredActivitiesPackageImpl theCompleteStructuredActivitiesPackage = (CompleteStructuredActivitiesPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof CompleteStructuredActivitiesPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new CompleteStructuredActivitiesPackageImpl());

		isInited = true;

		// Obtain or create and register interdependencies
		BasicBehaviorsPackageImpl theBasicBehaviorsPackage = (BasicBehaviorsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BasicBehaviorsPackage.eNS_URI) instanceof BasicBehaviorsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BasicBehaviorsPackage.eNS_URI) : BasicBehaviorsPackage.eINSTANCE);
		CommunicationsPackageImpl theCommunicationsPackage = (CommunicationsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CommunicationsPackage.eNS_URI) instanceof CommunicationsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CommunicationsPackage.eNS_URI) : CommunicationsPackage.eINSTANCE);
		KernelPackageImpl theKernelPackage = (KernelPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(KernelPackage.eNS_URI) instanceof KernelPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(KernelPackage.eNS_URI) : KernelPackage.eINSTANCE);
		IntermediateActivitiesPackageImpl theIntermediateActivitiesPackage = (IntermediateActivitiesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(IntermediateActivitiesPackage.eNS_URI) instanceof IntermediateActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(IntermediateActivitiesPackage.eNS_URI) : IntermediateActivitiesPackage.eINSTANCE);
		fUML.Syntax.Activities.CompleteStructuredActivities.impl.CompleteStructuredActivitiesPackageImpl theCompleteStructuredActivitiesPackage_1 = (fUML.Syntax.Activities.CompleteStructuredActivities.impl.CompleteStructuredActivitiesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(fUML.Syntax.Activities.CompleteStructuredActivities.CompleteStructuredActivitiesPackage.eNS_URI) instanceof fUML.Syntax.Activities.CompleteStructuredActivities.impl.CompleteStructuredActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(fUML.Syntax.Activities.CompleteStructuredActivities.CompleteStructuredActivitiesPackage.eNS_URI) : fUML.Syntax.Activities.CompleteStructuredActivities.CompleteStructuredActivitiesPackage.eINSTANCE);
		ExtraStructuredActivitiesPackageImpl theExtraStructuredActivitiesPackage = (ExtraStructuredActivitiesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ExtraStructuredActivitiesPackage.eNS_URI) instanceof ExtraStructuredActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ExtraStructuredActivitiesPackage.eNS_URI) : ExtraStructuredActivitiesPackage.eINSTANCE);
		IntermediateActionsPackageImpl theIntermediateActionsPackage = (IntermediateActionsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(IntermediateActionsPackage.eNS_URI) instanceof IntermediateActionsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(IntermediateActionsPackage.eNS_URI) : IntermediateActionsPackage.eINSTANCE);
		CompleteActionsPackageImpl theCompleteActionsPackage = (CompleteActionsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CompleteActionsPackage.eNS_URI) instanceof CompleteActionsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CompleteActionsPackage.eNS_URI) : CompleteActionsPackage.eINSTANCE);
		BasicActionsPackageImpl theBasicActionsPackage = (BasicActionsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BasicActionsPackage.eNS_URI) instanceof BasicActionsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BasicActionsPackage.eNS_URI) : BasicActionsPackage.eINSTANCE);
		fUML.Semantics.Actions.BasicActions.impl.BasicActionsPackageImpl theBasicActionsPackage_1 = (fUML.Semantics.Actions.BasicActions.impl.BasicActionsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Actions.BasicActions.BasicActionsPackage.eNS_URI) instanceof fUML.Semantics.Actions.BasicActions.impl.BasicActionsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Actions.BasicActions.BasicActionsPackage.eNS_URI) : fUML.Semantics.Actions.BasicActions.BasicActionsPackage.eINSTANCE);
		fUML.Semantics.Actions.IntermediateActions.impl.IntermediateActionsPackageImpl theIntermediateActionsPackage_1 = (fUML.Semantics.Actions.IntermediateActions.impl.IntermediateActionsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Actions.IntermediateActions.IntermediateActionsPackage.eNS_URI) instanceof fUML.Semantics.Actions.IntermediateActions.impl.IntermediateActionsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Actions.IntermediateActions.IntermediateActionsPackage.eNS_URI) : fUML.Semantics.Actions.IntermediateActions.IntermediateActionsPackage.eINSTANCE);
		fUML.Semantics.Actions.CompleteActions.impl.CompleteActionsPackageImpl theCompleteActionsPackage_1 = (fUML.Semantics.Actions.CompleteActions.impl.CompleteActionsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Actions.CompleteActions.CompleteActionsPackage.eNS_URI) instanceof fUML.Semantics.Actions.CompleteActions.impl.CompleteActionsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Actions.CompleteActions.CompleteActionsPackage.eNS_URI) : fUML.Semantics.Actions.CompleteActions.CompleteActionsPackage.eINSTANCE);
		fUML.Semantics.Activities.ExtraStructuredActivities.impl.ExtraStructuredActivitiesPackageImpl theExtraStructuredActivitiesPackage_1 = (fUML.Semantics.Activities.ExtraStructuredActivities.impl.ExtraStructuredActivitiesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Activities.ExtraStructuredActivities.ExtraStructuredActivitiesPackage.eNS_URI) instanceof fUML.Semantics.Activities.ExtraStructuredActivities.impl.ExtraStructuredActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Activities.ExtraStructuredActivities.ExtraStructuredActivitiesPackage.eNS_URI) : fUML.Semantics.Activities.ExtraStructuredActivities.ExtraStructuredActivitiesPackage.eINSTANCE);
		fUML.Semantics.Activities.IntermediateActivities.impl.IntermediateActivitiesPackageImpl theIntermediateActivitiesPackage_1 = (fUML.Semantics.Activities.IntermediateActivities.impl.IntermediateActivitiesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Activities.IntermediateActivities.IntermediateActivitiesPackage.eNS_URI) instanceof fUML.Semantics.Activities.IntermediateActivities.impl.IntermediateActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Activities.IntermediateActivities.IntermediateActivitiesPackage.eNS_URI) : fUML.Semantics.Activities.IntermediateActivities.IntermediateActivitiesPackage.eINSTANCE);
		fUML.Semantics.Classes.Kernel.impl.KernelPackageImpl theKernelPackage_1 = (fUML.Semantics.Classes.Kernel.impl.KernelPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Classes.Kernel.KernelPackage.eNS_URI) instanceof fUML.Semantics.Classes.Kernel.impl.KernelPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Classes.Kernel.KernelPackage.eNS_URI) : fUML.Semantics.Classes.Kernel.KernelPackage.eINSTANCE);
		LociL2PackageImpl theLociL2Package = (LociL2PackageImpl)(EPackage.Registry.INSTANCE.getEPackage(LociL2Package.eNS_URI) instanceof LociL2PackageImpl ? EPackage.Registry.INSTANCE.getEPackage(LociL2Package.eNS_URI) : LociL2Package.eINSTANCE);
		LociL3PackageImpl theLociL3Package = (LociL3PackageImpl)(EPackage.Registry.INSTANCE.getEPackage(LociL3Package.eNS_URI) instanceof LociL3PackageImpl ? EPackage.Registry.INSTANCE.getEPackage(LociL3Package.eNS_URI) : LociL3Package.eINSTANCE);
		LociL1PackageImpl theLociL1Package = (LociL1PackageImpl)(EPackage.Registry.INSTANCE.getEPackage(LociL1Package.eNS_URI) instanceof LociL1PackageImpl ? EPackage.Registry.INSTANCE.getEPackage(LociL1Package.eNS_URI) : LociL1Package.eINSTANCE);
		fUML.Semantics.CommonBehaviors.Communications.impl.CommunicationsPackageImpl theCommunicationsPackage_1 = (fUML.Semantics.CommonBehaviors.Communications.impl.CommunicationsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.CommonBehaviors.Communications.CommunicationsPackage.eNS_URI) instanceof fUML.Semantics.CommonBehaviors.Communications.impl.CommunicationsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.CommonBehaviors.Communications.CommunicationsPackage.eNS_URI) : fUML.Semantics.CommonBehaviors.Communications.CommunicationsPackage.eINSTANCE);
		fUML.Semantics.CommonBehaviors.BasicBehaviors.impl.BasicBehaviorsPackageImpl theBasicBehaviorsPackage_1 = (fUML.Semantics.CommonBehaviors.BasicBehaviors.impl.BasicBehaviorsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.CommonBehaviors.BasicBehaviors.BasicBehaviorsPackage.eNS_URI) instanceof fUML.Semantics.CommonBehaviors.BasicBehaviors.impl.BasicBehaviorsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.CommonBehaviors.BasicBehaviors.BasicBehaviorsPackage.eNS_URI) : fUML.Semantics.CommonBehaviors.BasicBehaviors.BasicBehaviorsPackage.eINSTANCE);

		// Create package meta-data objects
		theCompleteStructuredActivitiesPackage.createPackageContents();
		theBasicBehaviorsPackage.createPackageContents();
		theCommunicationsPackage.createPackageContents();
		theKernelPackage.createPackageContents();
		theIntermediateActivitiesPackage.createPackageContents();
		theCompleteStructuredActivitiesPackage_1.createPackageContents();
		theExtraStructuredActivitiesPackage.createPackageContents();
		theIntermediateActionsPackage.createPackageContents();
		theCompleteActionsPackage.createPackageContents();
		theBasicActionsPackage.createPackageContents();
		theBasicActionsPackage_1.createPackageContents();
		theIntermediateActionsPackage_1.createPackageContents();
		theCompleteActionsPackage_1.createPackageContents();
		theExtraStructuredActivitiesPackage_1.createPackageContents();
		theIntermediateActivitiesPackage_1.createPackageContents();
		theKernelPackage_1.createPackageContents();
		theLociL2Package.createPackageContents();
		theLociL3Package.createPackageContents();
		theLociL1Package.createPackageContents();
		theCommunicationsPackage_1.createPackageContents();
		theBasicBehaviorsPackage_1.createPackageContents();

		// Initialize created meta-data
		theCompleteStructuredActivitiesPackage.initializePackageContents();
		theBasicBehaviorsPackage.initializePackageContents();
		theCommunicationsPackage.initializePackageContents();
		theKernelPackage.initializePackageContents();
		theIntermediateActivitiesPackage.initializePackageContents();
		theCompleteStructuredActivitiesPackage_1.initializePackageContents();
		theExtraStructuredActivitiesPackage.initializePackageContents();
		theIntermediateActionsPackage.initializePackageContents();
		theCompleteActionsPackage.initializePackageContents();
		theBasicActionsPackage.initializePackageContents();
		theBasicActionsPackage_1.initializePackageContents();
		theIntermediateActionsPackage_1.initializePackageContents();
		theCompleteActionsPackage_1.initializePackageContents();
		theExtraStructuredActivitiesPackage_1.initializePackageContents();
		theIntermediateActivitiesPackage_1.initializePackageContents();
		theKernelPackage_1.initializePackageContents();
		theLociL2Package.initializePackageContents();
		theLociL3Package.initializePackageContents();
		theLociL1Package.initializePackageContents();
		theCommunicationsPackage_1.initializePackageContents();
		theBasicBehaviorsPackage_1.initializePackageContents();

		// Mark meta-data to indicate it can't be changed
		theCompleteStructuredActivitiesPackage.freeze();

  
		// Update the registry and return the package
		EPackage.Registry.INSTANCE.put(CompleteStructuredActivitiesPackage.eNS_URI, theCompleteStructuredActivitiesPackage);
		return theCompleteStructuredActivitiesPackage;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getStructuredActivityNodeActivation() {
		return structuredActivityNodeActivationEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getStructuredActivityNodeActivation_ActivationGroup() {
		return (EReference)structuredActivityNodeActivationEClass.getEStructuralFeatures().get(0);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getLoopNodeActivation() {
		return loopNodeActivationEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getLoopNodeActivation_BodyOutputLists() {
		return (EReference)loopNodeActivationEClass.getEStructuralFeatures().get(0);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getValues() {
		return valuesEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getValues_Values() {
		return (EReference)valuesEClass.getEStructuralFeatures().get(0);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getConditionalNodeActivation() {
		return conditionalNodeActivationEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getConditionalNodeActivation_ClauseActivations() {
		return (EReference)conditionalNodeActivationEClass.getEStructuralFeatures().get(0);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getConditionalNodeActivation_SelectedClauses() {
		return (EReference)conditionalNodeActivationEClass.getEStructuralFeatures().get(1);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getClauseActivation() {
		return clauseActivationEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getClauseActivation_Clause() {
		return (EReference)clauseActivationEClass.getEStructuralFeatures().get(0);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getClauseActivation_ConditionalNodeActivation() {
		return (EReference)clauseActivationEClass.getEStructuralFeatures().get(1);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public CompleteStructuredActivitiesFactory getCompleteStructuredActivitiesFactory() {
		return (CompleteStructuredActivitiesFactory)getEFactoryInstance();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private boolean isCreated = false;

	/**
	 * Creates the meta-model objects for the package.  This method is
	 * guarded to have no affect on any invocation but its first.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void createPackageContents() {
		if (isCreated) return;
		isCreated = true;

		// Create classes and their features
		structuredActivityNodeActivationEClass = createEClass(STRUCTURED_ACTIVITY_NODE_ACTIVATION);
		createEReference(structuredActivityNodeActivationEClass, STRUCTURED_ACTIVITY_NODE_ACTIVATION__ACTIVATION_GROUP);

		loopNodeActivationEClass = createEClass(LOOP_NODE_ACTIVATION);
		createEReference(loopNodeActivationEClass, LOOP_NODE_ACTIVATION__BODY_OUTPUT_LISTS);

		valuesEClass = createEClass(VALUES);
		createEReference(valuesEClass, VALUES__VALUES);

		conditionalNodeActivationEClass = createEClass(CONDITIONAL_NODE_ACTIVATION);
		createEReference(conditionalNodeActivationEClass, CONDITIONAL_NODE_ACTIVATION__CLAUSE_ACTIVATIONS);
		createEReference(conditionalNodeActivationEClass, CONDITIONAL_NODE_ACTIVATION__SELECTED_CLAUSES);

		clauseActivationEClass = createEClass(CLAUSE_ACTIVATION);
		createEReference(clauseActivationEClass, CLAUSE_ACTIVATION__CLAUSE);
		createEReference(clauseActivationEClass, CLAUSE_ACTIVATION__CONDITIONAL_NODE_ACTIVATION);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private boolean isInitialized = false;

	/**
	 * Complete the initialization of the package and its meta-model.  This
	 * method is guarded to have no affect on any invocation but its first.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void initializePackageContents() {
		if (isInitialized) return;
		isInitialized = true;

		// Initialize package
		setName(eNAME);
		setNsPrefix(eNS_PREFIX);
		setNsURI(eNS_URI);

		// Obtain other dependent packages
		fUML.Semantics.Actions.BasicActions.BasicActionsPackage theBasicActionsPackage_1 = (fUML.Semantics.Actions.BasicActions.BasicActionsPackage)EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Actions.BasicActions.BasicActionsPackage.eNS_URI);
		fUML.Semantics.Activities.IntermediateActivities.IntermediateActivitiesPackage theIntermediateActivitiesPackage_1 = (fUML.Semantics.Activities.IntermediateActivities.IntermediateActivitiesPackage)EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Activities.IntermediateActivities.IntermediateActivitiesPackage.eNS_URI);
		IntermediateActivitiesPackage theIntermediateActivitiesPackage = (IntermediateActivitiesPackage)EPackage.Registry.INSTANCE.getEPackage(IntermediateActivitiesPackage.eNS_URI);
		fUML.Syntax.Activities.CompleteStructuredActivities.CompleteStructuredActivitiesPackage theCompleteStructuredActivitiesPackage_1 = (fUML.Syntax.Activities.CompleteStructuredActivities.CompleteStructuredActivitiesPackage)EPackage.Registry.INSTANCE.getEPackage(fUML.Syntax.Activities.CompleteStructuredActivities.CompleteStructuredActivitiesPackage.eNS_URI);
		fUML.Semantics.Classes.Kernel.KernelPackage theKernelPackage_1 = (fUML.Semantics.Classes.Kernel.KernelPackage)EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Classes.Kernel.KernelPackage.eNS_URI);
		BasicActionsPackage theBasicActionsPackage = (BasicActionsPackage)EPackage.Registry.INSTANCE.getEPackage(BasicActionsPackage.eNS_URI);

		// Create type parameters

		// Set bounds for type parameters

		// Add supertypes to classes
		structuredActivityNodeActivationEClass.getESuperTypes().add(theBasicActionsPackage_1.getActionActivation());
		loopNodeActivationEClass.getESuperTypes().add(this.getStructuredActivityNodeActivation());
		conditionalNodeActivationEClass.getESuperTypes().add(this.getStructuredActivityNodeActivation());

		// Initialize classes and features; add operations and parameters
		initEClass(structuredActivityNodeActivationEClass, StructuredActivityNodeActivation.class, "StructuredActivityNodeActivation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
		initEReference(getStructuredActivityNodeActivation_ActivationGroup(), theIntermediateActivitiesPackage_1.getActivityNodeActivationGroup(), theIntermediateActivitiesPackage_1.getActivityNodeActivationGroup_ContainingNodeActivation(), "activationGroup", null, 1, 1, StructuredActivityNodeActivation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);

		addEOperation(structuredActivityNodeActivationEClass, null, "doStructuredActivity", 1, 1, IS_UNIQUE, !IS_ORDERED);

		EOperation op = addEOperation(structuredActivityNodeActivationEClass, theIntermediateActivitiesPackage.getActivityNode(), "makeActivityNodeList", 0, -1, IS_UNIQUE, !IS_ORDERED);
		addEParameter(op, theCompleteStructuredActivitiesPackage_1.getExecutableNode(), "nodes", 0, -1, IS_UNIQUE, !IS_ORDERED);

		op = addEOperation(structuredActivityNodeActivationEClass, theKernelPackage_1.getValue(), "getPinValues", 0, -1, IS_UNIQUE, !IS_ORDERED);
		addEParameter(op, theBasicActionsPackage.getOutputPin(), "pin", 1, 1, IS_UNIQUE, !IS_ORDERED);

		op = addEOperation(structuredActivityNodeActivationEClass, null, "putPinValues", 1, 1, IS_UNIQUE, !IS_ORDERED);
		addEParameter(op, theBasicActionsPackage.getOutputPin(), "pin", 1, 1, IS_UNIQUE, !IS_ORDERED);
		addEParameter(op, theKernelPackage_1.getValue(), "values", 0, -1, IS_UNIQUE, !IS_ORDERED);

		initEClass(loopNodeActivationEClass, LoopNodeActivation.class, "LoopNodeActivation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
		initEReference(getLoopNodeActivation_BodyOutputLists(), this.getValues(), null, "bodyOutputLists", null, 0, -1, LoopNodeActivation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);

		addEOperation(loopNodeActivationEClass, ecorePackage.getEBoolean(), "runTest", 1, 1, IS_UNIQUE, !IS_ORDERED);

		addEOperation(loopNodeActivationEClass, null, "runBody", 1, 1, IS_UNIQUE, !IS_ORDERED);

		addEOperation(loopNodeActivationEClass, null, "runLoopVariables", 1, 1, IS_UNIQUE, !IS_ORDERED);

		addEOperation(loopNodeActivationEClass, theIntermediateActivitiesPackage.getActivityNode(), "makeLoopVariableList", 0, -1, IS_UNIQUE, !IS_ORDERED);

		initEClass(valuesEClass, Values.class, "Values", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
		initEReference(getValues_Values(), theKernelPackage_1.getValue(), null, "values", null, 0, -1, Values.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);

		initEClass(conditionalNodeActivationEClass, ConditionalNodeActivation.class, "ConditionalNodeActivation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
		initEReference(getConditionalNodeActivation_ClauseActivations(), this.getClauseActivation(), this.getClauseActivation_ConditionalNodeActivation(), "clauseActivations", null, 0, -1, ConditionalNodeActivation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
		initEReference(getConditionalNodeActivation_SelectedClauses(), theCompleteStructuredActivitiesPackage_1.getClause(), null, "selectedClauses", null, 0, -1, ConditionalNodeActivation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);

		op = addEOperation(conditionalNodeActivationEClass, this.getClauseActivation(), "getClauseActivation", 1, 1, IS_UNIQUE, !IS_ORDERED);
		addEParameter(op, theCompleteStructuredActivitiesPackage_1.getClause(), "clause", 1, 1, IS_UNIQUE, !IS_ORDERED);

		op = addEOperation(conditionalNodeActivationEClass, null, "runTest", 1, 1, IS_UNIQUE, !IS_ORDERED);
		addEParameter(op, theCompleteStructuredActivitiesPackage_1.getClause(), "clause", 1, 1, IS_UNIQUE, !IS_ORDERED);

		op = addEOperation(conditionalNodeActivationEClass, null, "selectBody", 1, 1, IS_UNIQUE, !IS_ORDERED);
		addEParameter(op, theCompleteStructuredActivitiesPackage_1.getClause(), "clause", 1, 1, IS_UNIQUE, !IS_ORDERED);

		initEClass(clauseActivationEClass, ClauseActivation.class, "ClauseActivation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
		initEReference(getClauseActivation_Clause(), theCompleteStructuredActivitiesPackage_1.getClause(), null, "clause", null, 1, 1, ClauseActivation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
		initEReference(getClauseActivation_ConditionalNodeActivation(), this.getConditionalNodeActivation(), this.getConditionalNodeActivation_ClauseActivations(), "conditionalNodeActivation", null, 1, 1, ClauseActivation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);

		addEOperation(clauseActivationEClass, null, "receiveControl", 1, 1, IS_UNIQUE, !IS_ORDERED);

		addEOperation(clauseActivationEClass, ecorePackage.getEBoolean(), "isReady", 1, 1, IS_UNIQUE, !IS_ORDERED);

		addEOperation(clauseActivationEClass, null, "runTest", 1, 1, IS_UNIQUE, !IS_ORDERED);

		addEOperation(clauseActivationEClass, null, "selectBody", 1, 1, IS_UNIQUE, !IS_ORDERED);

		addEOperation(clauseActivationEClass, theKernelPackage_1.getBooleanValue(), "getDecision", 0, 1, IS_UNIQUE, !IS_ORDERED);

		addEOperation(clauseActivationEClass, this.getClauseActivation(), "getPredecessors", 0, -1, IS_UNIQUE, !IS_ORDERED);

		addEOperation(clauseActivationEClass, this.getClauseActivation(), "getSuccessors", 0, -1, IS_UNIQUE, !IS_ORDERED);

		// Create resource
		createResource(eNS_URI);
	}

} //CompleteStructuredActivitiesPackageImpl
